package com.hs.mapper;

import com.hs.entity.ChargingStandards;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ChargingStandardsMapper {
    int addChargingStandards(ChargingStandards chargingStandards);
    int deleteChargingStandards(int id);
    int updateChargingStandards(ChargingStandards chargingStandards);
    ChargingStandards getChargingStandardsById(int id);
    List<ChargingStandards> getChargingStandardsByPage();

    //多对一
    List<ChargingStandards> getChargingStandardsByConsultantId(int consultantId);
}
